<%--
  Created by IntelliJ IDEA.
  User: 86183
  Date: 2023/4/16
  Time: 21:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
  String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + request.getContextPath() + "/";
%>
<!DOCTYPE html>
<html>
<head>
  <base href="<%= basePath%>"/>
  <meta charset="UTF-8">

  <link href="jquery/bootstrap_3.3.0/css/bootstrap.min.css" type="text/css" rel="stylesheet"/>
  <link href="jquery/bootstrap-datetimepicker-master/css/bootstrap-datetimepicker.min.css" type="text/css"
        rel="stylesheet"/>
  <link href="jquery\bs_pagination-master\css\jquery.bs_pagination.min.css" type="text/css" rel="stylesheet">

  <script type="text/javascript" src="jquery/jquery-1.11.1-min.js"></script>
  <script type="text/javascript" src="jquery/bootstrap_3.3.0/js/bootstrap.min.js"></script>
  <script type="text/javascript" src="jquery/bootstrap-datetimepicker-master/js/bootstrap-datetimepicker.js"></script>
  <script type="text/javascript"
          src="jquery/bootstrap-datetimepicker-master/locale/bootstrap-datetimepicker.zh-CN.js"></script>
  <script type="text/javascript" src="jquery\bs_pagination-master\js\jquery.bs_pagination.min.js"></script>
  <script type="text/javascript" src="jquery\bs_pagination-master\localization\en.js"></script>
    <title>Title</title>
  <script type="text/javascript">
     $(function (){
       $("#bsDiv").bs_pagination({
         rowsPerPage:10,
         totalRows:100,
         totalPages:10,
         currentPage:1,
         visiblePageLinks: 5,
         showGoToPage:true,//是否显示"跳转到"部分,默认true--显示
         showRowsPerPage:true,//是否显示"每页显示条数"部分。默认true--显示
         showRowsInfo:true,//是否显示记录的信息，默认true--显示
         onChangePage:function (event,pageObj){
             showActivity(pageObj.rowsPerPage,pageObj.currentPage)
         }
       })
       $(".test").click(function (){
         alert("123")
       })
     })
  </script>
  </head>
  <body>
      <div id="bsDiv" class="test">123</div>
      <div  class="test">123</div>
      <div  class="test">123</div>
      <div  class="test">123</div>

      <a href="workbench/activity/downAllActivity.do">下载文件</a>
  </body>
</html>
